package Map;

/** 
 * Provides constants for use by the entire program.
 *
 * @author Lewis Marhin and John Gray-Spence
 */
public class Constants {

    public static final String VERSION = "0.40"; /** Simply using revision number. */
    public static final String DEFAULT_ROOT = "rename me!"; /** Default root node text */
    public static final int ROOT = -99; /** Default root node ID */
    /** Used by keypad. */
    public static final int LEFT = 0;
    public static final int RIGHT = 1;
    public static final int UP = 2;
    public static final int DOWN = 3;
    /** Used by cursor. */
    public static final int SELECT_MODE = 0;
    public static final int MOVE_MODE = 1;
    public static final int GLOBAL_MOVE_MODE = 2;

    public static final int MAX_NODES = 100; /** Maximum number of nodes in one map. */
    public static final int ROOT_DEPTH = 5; /** How thick/high the root node is. */
    public static final int RANGLE = 5; /** How rounded the corners of a node are. */
    public static final int NODE_HEIGHT = 20; /** Width of node. Must be big enough to accomodate font. */
    public static final int ANCHOR = 0; /** Used for positioning the origin (0 = top left). */
    /** Predifined colours for the GUI */
    public static int WHITE = 0xFFFFFF;
    public static int BLACK = 0x000000;
    public static int RED = 0xFF0000;
    /** Used in determining map save location/ */
    public static int FILE_LOC = 0;
    public static int SERVER_LOC = 1;
    public static int RMS_LOC = 2;
}
